// Copyright (c) 2025 coze-dev Authors
// SPDX-License-Identifier: Apache-2.0
/* stylelint-disable max-nesting-depth */
.tree {
  // padding: 10px;
  overflow: auto;
  display: flex;
  box-sizing: border-box;
  // background-color: #f1f1f1;

  .tree-container {
    position: relative;
    width: 100%;
    height: fit-content;


    .tree-path-list {
      position: absolute;
      width: 100%;
      height: 100%;
    }

    .tree-node-list {
      position: relative;

      display: flex;
      flex-direction: column;
      justify-content: stretch;

      width: fit-content;
      min-width: 100%;


      .tree-node {
        cursor: pointer;

        position: relative;

        display: flex;
        align-items: stretch;

        width: 100%;
        padding: 0 0 0 20px;

        &:hover{
          background-color: rgba(90, 108, 167, 4%);
        }

        .tree-node-box {
          overflow: hidden;
          display: flex;
          flex: 1;
          align-items: stretch;
        }

        // .tree-node-icon {
        //   display: flex;
        //   justify-content: center;
        //   align-items: center;
        // }
      }
    }
  }
}
